
<table class="table table-striped">
	
	 <?php echo $this->Html->tableHeaders(array($this->Paginator->sort('nombre', 'Nombre'), 'Modificar')); ?>

    <?php foreach ($lineas as $linea): ?>
    <tr>
		<td><?php echo $this->Html->link('<i class="icon-share-alt"></i> '.$linea['Linea']['nombre'], array('action' => 'view', $linea['Linea']['id']), array('escape' => false, 'title' => 'Ver Detalles'));?></td>
		<td>
            <?php echo $this->Html->link('<i class="icon-pencil icon-white"></i>', array('action' => 'edit', $linea['Linea']['id']), array('class' => 'btn btn-primary', 'escape' => false, 'title' => "Editar"));
				echo " "; echo $this->Form->postLink('<i class="icon-trash icon-white"></i>', array('action' => 'delete', $linea['Linea']['id']),
				array('confirm' => 'Esta seguro que desea eliminar la linea?', 'class' => 'btn btn-primary', 'escape' => false, 'title' => "Eliminar")); ?>
        </td>
    </tr>
    <?php endforeach; ?>

	</table>